package com.greatchn.no_session_auth_code.web.controller;

import com.greatchn.no_session_auth_code.util.Result;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @AdminController: admin ctrl
 * @author: ZBoHang
 * @time: 2023/2/8 11:17
 */
@RestController
@RequestMapping("/admin")
public class AdminController {

    @PostMapping("getAdmin")
    public Result getAdmin() {

        return Result.success("suc!");
    }
}
